<?xml version="1.0" encoding="UTF-8"?>
<!--
Document   : HotelList
Created on : 16 juil. 2008, 11:09:33
Author     : Rivo
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page binding="#{screens$HotelList.page1}" id="page1">
            <webuijsf:html binding="#{screens$HotelList.html1}" id="html1">
                <webuijsf:head binding="#{screens$HotelList.head1}" id="head1">
                    <webuijsf:link binding="#{screens$HotelList.link1}" id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body binding="#{screens$HotelList.body1}" id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{screens$HotelList.hotelListForm}" id="hotelListForm" style="height: 100%; left: 0px; top: 0px; position: relative; width: 100%">
                        <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
                        <!-- end #container -->
                        <webuijsf:panelLayout binding="#{screens$HotelList.mainContentPanel}" id="mainContentPanel"
                            style="border-bottom-color: blue; border-bottom-width: 1px; height: 478px; left: 24px; top: 0px; position: absolute; width: 672px; -rave-layout: grid" styleClass="mainContent">
                            <webuijsf:label id="lbHotelList" style="color: green; font-size: 24px; font-weight: bold; left: 0px; top: 0px; position: absolute" text="Mes Hotels"/>
                            <webuijsf:button actionExpression="#{screens$HotelList.btAddHotel_action}" binding="#{screens$HotelList.btAddHotel}" id="btAddHotel"
                                mini="true" primary="true" style="height: 24px; left: -1px; top: 48px; position: absolute; width: 71px" text="Ajouter"/>
                            <webuijsf:table binding="#{screens$HotelList.tblHotelList}" id="tblHotelList" paginationControls="true"
                                style="left: 0px; top: 72px; position: absolute" title="Liste des hotels" width="647">
                                <webuijsf:tableRowGroup binding="#{screens$HotelList.tblRowHotelList}" emptyDataMsg="Aucun Hotel !" id="tblRowHotelList"
                                    rows="10" sourceData="#{SessionBean.hotelList}" sourceVar="currentRow">
                                    <webuijsf:tableColumn headerText="Nom" id="tableColumn1" sort="name">
                                        <webuijsf:staticText id="staticText2" text="#{currentRow.value['name']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="Adresse" id="tableColumn2" sort="address1">
                                        <webuijsf:staticText id="staticText3" text="#{currentRow.value['address1']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="Description" id="tableColumn3" sort="description">
                                        <webuijsf:staticText id="staticText4" text="#{currentRow.value['description']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="Services" id="tableColumn4" sort="servicesEquipments">
                                        <webuijsf:staticText id="staticText5" text="#{currentRow.value['servicesEquipments']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn align="center" headerText="Editer" id="tableColumn5" width="7">
                                        <webuijsf:button actionExpression="#{screens$HotelList.btEditHotel_action}" binding="#{screens$HotelList.btEditHotel}"
                                            id="btEditHotel" mini="true" primary="true" text="..."/>
                                    </webuijsf:tableColumn>
                                </webuijsf:tableRowGroup>
                            </webuijsf:table>
                            <webuijsf:hyperlink id="hyperlink1" style="left: 144px; top: 48px; position: absolute; width: 131px" text="Consulter mon compte" url="http://localhost:8080/CentralHotelUIWeb/uiweb/screens/HotelManagerAccount.jsp"/>
                        </webuijsf:panelLayout>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
